package scala.scalaClass.Abstract

import scala.collection.mutable.ArrayBuffer

class BasicQueue extends InQueue{
   private val buf = new ArrayBuffer[Int]
   def get(n:Int) {println(buf(n))}
   def put(x:Int){ buf += x}
}